<!doctype html>
<html>

	<head>
		<meta charset="utf-8" />
		<title>Simple Examples</title>
		<link rel="stylesheet" href="css/default.css" />
		<script charset="utf-8" src="js/kindeditor-min.js"></script>
		<script charset="utf-8" src="js/lang/zh-CN.js"></script>
		<style type="text/css">
			.f{
				overflow-y: auto;
			}
		</style>
		<script>
			var editor;
			KindEditor.ready(function(K) {
				editor = K.create('textarea[name="content"]', {
					resizeType: 1,
					allowPreviewEmoticons: false,
					allowImageUpload: false,
					items: [
						"superscript", "subscript"
					]
				});
				console.log(editor.html());
			});
		</script>
	</head>

	<body>
		<div>
			<form>
				<textarea name="content" style="width:500px;height:200px;visibility:hidden;">KindEditor</textarea>
			</form>
		</div>
	</body>

</html>